How to detect collision on ui elements

welcome to shbcf.ru